package com.xdcplus.web.common.pojo.entity.pm;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * 工单表(PmWo)表实体类
 * 
 * @author Fish.Fei
 * @since 2023-02-03 15:48:19
 */
@Data
@ApiModel(description = "")
@SuppressWarnings("serial")
@TableName("PM_WO")
public class PmWo implements Serializable {
    private static final long serialVersionUID = -97489785192266381L;
            
    @ApiModelProperty("工单类型 生产工单  返工工单")
    private String woCate;
            
    @ApiModelProperty("工单状态")
    private String woStatus;
            
    @ApiModelProperty("工单原计划数量（SAP同步数量）")
    private Long adtPrdQty;
            
    //@ApiModelProperty("工单计划数量（工单原计划数量-原材料退料-工序退料-取片退料）")
    //private Long plnPrdQty;
    //
    //@ApiModelProperty("实际计划数量（领料数量 =工单原计划数量-原材料退料）")
    //private Long asnPrdQty;

    @ApiModelProperty("拆包数量（分片拆包数量）")
    private Long rlPrdQty;
            
    @ApiModelProperty("下线数量（测试分选的数量）")
    private Long compPrdQty;
            
    @ApiModelProperty("已入库数量")
    private Long whInPrdQty;

            
    //@ApiModelProperty("已组箱数量")
    //private Long boxPrdQty;
            
    @ApiModelProperty("返工数量")
    private Long defectPrdQty;
            
    @ApiModelProperty("碎片数量")
    private Long scrapPrdQty;
            
    @ApiModelProperty("退料总数")
    private Long rwPrdQty;
            
    //@ApiModelProperty("是否优先结批")
    //private Long isFirstFinish;
    //
    @ApiModelProperty("工单描述")
    private String woDsc;
    //
    //@ApiModelProperty("来料退料数量")
    //private Long mtrlRwQty;
            
    @ApiModelProperty(" 主键")
    private Long id;
            
    @ApiModelProperty("工艺路线ID")
    private Long pathiIdFk;
            
    @ApiModelProperty("产品ID")
    private Long productIdFk;

            
    @ApiModelProperty("创建人")
    private String createdUser;
            
    @ApiModelProperty("创建时间")
    private Timestamp createdTime;
            
    @ApiModelProperty("更新人")
    private String updatedUser;
            
    @ApiModelProperty("更新时间")
    private Timestamp updatedTime;
            
    @ApiModelProperty("是否删除")
    private Long deleted;
            
    @ApiModelProperty("数据版本")
    private Long version;
            
    //@ApiModelProperty("产线")
    //private String lineId;
            
    @ApiModelProperty("工单编号")
    private String woCode;

    @ApiModelProperty("公司代码")
    private String bukrs;
    @ApiModelProperty("工厂")
    private String werks;

    @ApiModelProperty("订单类型")
    private String orderType;
    @ApiModelProperty("订单类型描述")
    private String orderCate;
    @ApiModelProperty("创建日期")
    private String orderDate;
    @ApiModelProperty("基本完成日期")
    private String baseCompleteDate;
    @ApiModelProperty("订单状态")
    private String orderStatus;


    @ApiModelProperty("订单物料编号")
    private String orderMtrlCode;
    @ApiModelProperty("订单物料描述")
    private String orderMtrlName;

}
